# coding=utf-8
import unittest
from mongoutils import MongoHelper

class Test(unittest.TestCase):

    def testFindByWord(self):
        
        mongo = MongoHelper()
        docs = mongo.findWord('hibernate java', 10)
        for doc in docs: print doc
        pass


if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testName']
    unittest.main()